package com.cskaoyan.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public  class WxOrderGoods {
    private Integer id;
    private Integer orderId;
    private Integer goodsId;
    private String goodsName;
    private String goodsSn;
    private Integer productId;
    private Integer number;
    private Double price;
    private String[] specifications;
    private String picUrl;
    private Integer comment;
    private Date addTime;
    private Date updateTime;
    private Boolean deleted;

    public void setPicUrl(String picUrl) {
        this.picUrl = "http://localhost:8083/"+picUrl;//TODO:后期改进
    }
}
